package com.hp.service.template_data.impl;

import cn.hutool.extra.spring.SpringUtil;
import com.hp.service.curriculum.CurriculumService;
import com.hp.service.template_data.ExcelDynamicSelect;
import org.springframework.stereotype.Service;

/**
 * @author hp
 */
@Service
public class CurriculumSelect implements ExcelDynamicSelect {

    private static final CurriculumService curriculumService;


    static {
        curriculumService = SpringUtil.getBean(CurriculumService.class);
    }


    @Override
    public String[] getSource() {
        // 查询逻辑
        return curriculumService.getCurriculums();
    }

}
